﻿CREATE PROCEDURE [dbo].[IDaoGroup_Add]
    @Name	NVARCHAR(100)
AS



DECLARE
	 @Id	INT

SELECT
	@Id = ISNULL(MAX(Id) + 1, 1)
FROM	tbGroup


INSERT INTO	tbGroup	VALUES(
	 @Id
	,@Name
)



RETURN 0
